color swatch: Fix up rendering
authorMatthias Clasen <mclasen@redhat.com>
Thu, 7 Jan 2016 23:38:31 +0000 (18:38 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 7 Jan 2016 23:38:31 +0000 (18:38 -0500)
commit1b3bb244b6b584fbee69e120fe3cbcdb19069ce0
tree05a5fde3b5453e2b695c3d847dc8a209d72137ed
parentf9e6ccd59256ef86bdfa3bfe9810df35f7ee00fe
color swatch: Fix up rendering

gtk_render_content_path is expecting the full box dimensions,
not just the content area. So, add the border before calling it.

Note it is still possible to have some separation between the
color and the border, by setting padding.
gtk/gtkcolorswatch.c